package com.java.It;

public abstract class Game {
    public abstract  void initalize();
    public abstract  void startPlay();
    public abstract  void endPlay();

    //模板
    public final void play(){
        //初始化游戏
        initalize();

        //开始游戏
        startPlay();

        //结束游戏
        endPlay();
    }
}
